<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>控制台_<{$sitetitle}></title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
<script src="<{$JS_PATH}>js/prototype.js"></script>
<script language="javascript" src="<{$JS_PATH}>js/admin.js"></script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;地区信息管理</div></td></tr>
</table>
<br />
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input type="checkbox" name="idAll" id="idAll" onClick="uaCheckAll(this, 'id[]')" title="全选"><label for="idAll">全选</label></td>
<td>编号</td>
<td>地区名称</td>
<td>地区代码</td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<{foreach from=$Lists item=i name=area}>
<tr bgcolor="<{cycle values=#eeeeee,#ffffff}>" align="center">
<td><input type="checkbox" name="id[]" value="<{$i.AreaId}>" onClick="uaCheckItem(this, 'idAll')"></td>
<td><{$i.AreaId}></td>
<td><input type="text" name="data[area][name][]" id="DataAreaName<{$i.AreaId}>" value="<{$i.AreaName}>" /></td>
<td><input type="text" name="data[area][code_id][]" id="DataAreaCodeId<{$i.AreaId}>" value="<{$i.AreaCodeId}>" /></td>
<td><a href="./area.php?action=del&&id=<{$i.AreaId}>"><img src="<{$tpl_img_path}>admin/delete.gif" border="0" alt="删除"></a><!-- &nbsp;<a href="./adminer.php?action=refresh&username=<{$i.AdminerUserName}>&id=<{$i.AdminerId}>"><img src="<{$tpl_img_path}>admin/refresh.gif" border="0" alt=" 重设密码 "></a> --></td>
</tr>
<{foreachelse}>
<tr bgcolor="#ffffff">
<td colspan="6" align="center"><strong>目前没有任何数据</strong></td>
</tr>
<{/foreach}>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="7"><{$ByPages}></td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="4"><input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="del" value="删除" onClick="return confirmAction('确定删除吗?');">&nbsp;<input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="update" value="立即更新" onClick="return confirmAction('确定更新选定的地区信息吗?');"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!-- 快速添加 -->
<form name="quickaddfrm" action="" method="post">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
<tr class="header"><td colspan="6"><div align="left">快速添加</div></td></tr>
<tr>
	<td width="9%"><div align="right">地区名称：</div></td>
	<td width="15%"><input name="new[data][name]" type="text" id="NewDataName" size="15"></td>
	<td width="10%"><div align="right">地区代号：</div></td>
	<td><input name="new[data][code_id]" type="text" id="NewDataCodeId" size="8"></td>
	<td><input name="save" type="submit" id="save" value="添加" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"  onclick="return window.confirm('确认添加吗?');"></td>
	<td></td>
  </tr>
</table>
</form>
<!-- 结束new -->
</body>
</html>
